﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x0200078B RID: 1931
	public class CVRExtendedDisplay
	{
		// Token: 0x06002E17 RID: 11799 RVA: 0x000F1C1C File Offset: 0x000EFE1C
		internal CVRExtendedDisplay(IntPtr pInterface)
		{
			this.FnTable = (IVRExtendedDisplay)Marshal.PtrToStructure(pInterface, typeof(IVRExtendedDisplay));
		}

		// Token: 0x06002E18 RID: 11800 RVA: 0x000F1C40 File Offset: 0x000EFE40
		public void GetWindowBounds(ref int pnX, ref int pnY, ref uint pnWidth, ref uint pnHeight)
		{
			pnX = 0;
			pnY = 0;
			pnWidth = 0U;
			pnHeight = 0U;
			this.FnTable.GetWindowBounds(ref pnX, ref pnY, ref pnWidth, ref pnHeight);
		}

		// Token: 0x06002E19 RID: 11801 RVA: 0x000F1C64 File Offset: 0x000EFE64
		public void GetEyeOutputViewport(EVREye eEye, ref uint pnX, ref uint pnY, ref uint pnWidth, ref uint pnHeight)
		{
			pnX = 0U;
			pnY = 0U;
			pnWidth = 0U;
			pnHeight = 0U;
			this.FnTable.GetEyeOutputViewport(eEye, ref pnX, ref pnY, ref pnWidth, ref pnHeight);
		}

		// Token: 0x06002E1A RID: 11802 RVA: 0x000F1C8C File Offset: 0x000EFE8C
		public void GetDXGIOutputInfo(ref int pnAdapterIndex, ref int pnAdapterOutputIndex)
		{
			pnAdapterIndex = 0;
			pnAdapterOutputIndex = 0;
			this.FnTable.GetDXGIOutputInfo(ref pnAdapterIndex, ref pnAdapterOutputIndex);
		}

		// Token: 0x04002ADB RID: 10971
		private IVRExtendedDisplay FnTable;
	}
}
